bool check(int x)
{
    int num = 0;
    while (x)
    {
        num++;
        x /= 10;
    }
    return num % 2 == 0;
}

int findNumbers(int* nums, int numsSize)
{
    int cnt = 0;
    for (int i = 0; i < numsSize; i++)
    {
        if (check(nums[i]))
            cnt++;
    }
    return cnt;
}